Show a Tenant VRF

You can view a brief or detailed output of the VRF of all tenants, a given tenant, or a given VRF.

About this task

Follow this procedure to view a tenant VRF configuration.

Procedure

Run the efa tenant vrf show command.

Example

  1. The following table shows the application and device state of all VRFs:
    +----------------------------------------------+---------------------+-------------+
    |                    State                     |      Dev State      |  App State  |
    |                                              |                     |             |
    +----------------------------------------------+---------------------+-------------+
    |              vrf-device-created              |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    |                 vrf-created                  |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    |    vrf-device-static-route-delete-pending    |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    |  vrf-device-static-route-bfd-delete-pending  |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    |   vrf-device-network-route-delete-pending    |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    | vrf-device-aggregate-address-delete-pending  |   not-provisioned   |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    | vrf-device-static-network-bfd-delete-pending | provisioning-failed |  cfg-ready  |
    +----------------------------------------------+---------------------+-------------+
    |              vrf-device-created              |     provisioned     | cfg-in-sync |
    +----------------------------------------------+---------------------+-------------+
  2. The following example shows detailed output of all VRF:
    (efa:root)root@node-2:~# efa tenant vrf show --detail
    ======================================================================================================================================
    Name                    : blue11
    Tenant                  : tenant11
    Routing Type            : distributed
    Centralized Routers     :
    Redistribute            : connected,static
    Max Path                : 50
    Local Asn               : 65001
    L3VNI                   :
    EVPN IRB BD             :
    EVPN IRB VE             :
    BR VNI                  :
    BR BD                   :
    BR VE                   :
    RH Max Path             : 16
    Enable RH ECMP          : true
    Enable Graceful Restart : true
    Route Target            : import 100:100
                            : export 100:100
                            : import 200:200
                            : export 200:200
                            : import 300:300
                            : export 400:400
    Static Route            : Switch-IP->Network,Nexthop-IP[Route-Distance], ...
                            : 10.20.246.6->192.168.0.0/24,10.10.10.1[5] 2020:20::1/128,3001::2[6]
                            : 10.20.246.5->192.168.10.0/24,10.10.10.5[5] 2020:30::1/128,3001::3[5]
    Static Route BFD        : Switch-IP->[DestIP,SourceIP][Interval,Min-Rx,Multiplier], ...
                            : 10.20.246.5->10.10.10.1,10.10.10.254[200,300,6]
                            : 10.20.246.6->10.10.10.5,10.10.10.252 3001::3,3001::1[100,200,5] 3001::2,3001::1 3001::4,3001::1[100,300,6]
    VRF Type                : private
    State                   : vrf-create
    Dev State               : not-provisioned
    App State               : cfg-ready
    
    =====================================================================================================================================
    =====================================================================================================================================
    Name                    : red11
    Tenant                  : tenant11
    Routing Type            : distributed
    Centralized Routers     :
    Redistribute            : connected,static
    Max Path                : 50
    Local Asn               : 5001
    L3VNI                   :
    EVPN IRB BD             :
    EVPN IRB VE             :
    BR VNI                  :
    BR BD                   :
    BR VE                   :
    RH Max Path             : 16
    Enable RH ECMP          : true
    Enable Graceful Restart : true
    Route Target            : import 500:500
                            : export 500:500
                            : import 600:600
                            : export 600:600
                            : import 700:700
                            : export 800:800
    Static Route            : Switch-IP->Network,Nexthop-IP[Route-Distance], ...
                            : 10.20.246.6->192.168.0.0/24,10.10.10.1[5] 2020:20::1/128,3001::2[6]
                            : 10.20.246.5->192.168.10.0/24,10.10.10.5[5] 2020:30::1/128,3001::3[5]
    Static Route BFD        : Switch-IP->[DestIP,SourceIP][Interval,Min-Rx,Multiplier], ...
                            : 10.20.246.5->10.10.10.1,10.10.10.254[200,300,6]
                            : 10.20.246.6->10.10.10.5,10.10.10.252 3001::3,3001::1[100,200,5] 3001::2,3001::1 3001::4,3001::1[100,300,6]
    VRF Type                : private
    State                   : vrf-create
    Dev State               : not-provisioned
    App State               : cfg-ready
    
    =====================================================================================================================================
    
    --- Time Elapsed: 192.291858ms ---
  3. The following example shows brief output of a specific VRF:
    (efa:root)root@node-2:~# efa tenant vrf show --name blue11 --tenant tenant11
    +--------+----------+--------------+---------------------+------------------+----------+-----------+-----------+------------+-----------------+-----------+
    |  Name  |  Tenant  | Routing Type | Centralized Routers |   Redistribute   | Max Path | Local Asn | Enable GR |   State    |    Dev State    | App State |
    +--------+----------+--------------+---------------------+------------------+----------+-----------+-----------+------------+-----------------+-----------+
    | blue11 | tenant11 | distributed  |                     | connected,static |    50    |   65001   |   true    | vrf-create | not-provisioned | cfg-ready |
    +--------+----------+--------------+---------------------+------------------+----------+-----------+-----------+------------+-----------------+-----------+
    Vrf Details
    
    --- Time Elapsed: 59.752192ms ---
  4. The following example shows detailed output of specific VRF of a tenant:
    (efa:root)root@node-2:~# efa tenant vrf show --name blue11 --tenant tenant11  --detail
    =======================================================================================================================================
    Name                    : blue11
    Tenant                  : tenant11
    Routing Type            : distributed
    Centralized Routers     :
    Redistribute            : connected,static
    Max Path                : 50
    Local Asn               : 65001
    L3VNI                   :
    EVPN IRB BD             :
    EVPN IRB VE             :
    BR VNI                  :
    BR BD                   :
    BR VE                   :
    RH Max Path             : 16
    Enable RH ECMP          : true
    Enable Graceful Restart : true
    Route Target            : import 100:100
                            : export 100:100
                            : import 200:200
                            : export 200:200
                            : import 300:300
                            : export 400:400
    Static Route            : Switch-IP->Network,Nexthop-IP[Route-Distance], ...
                            : 10.20.246.6->192.168.0.0/24,10.10.10.1[5] 2020:20::1/128,3001::2[6]
                            : 10.20.246.5->192.168.10.0/24,10.10.10.5[5] 2020:30::1/128,3001::3[5]
    Static Route BFD        : Switch-IP->[DestIP,SourceIP][Interval,Min-Rx,Multiplier], ...
                            : 10.20.246.5->10.10.10.1,10.10.10.254[200,300,6]
                            : 10.20.246.6->10.10.10.5,10.10.10.252 3001::3,3001::1[100,200,5] 3001::2,3001::1 3001::4,3001::1[100,300,6]
    VRF Type                :
    State                   : vrf-create
    Dev State               : not-provisioned
    App State               : cfg-ready
    
    ======================================================================================================================================
    
    --- Time Elapsed: 58.788211ms ---